package com.gw.smscheck.entity.sys;
import java.io.Serializable;
import com.gw.smscheck.entity.sys.BasePager;
/**
* sys_role 实体类
* @author lhq 
* @date 2018-11-15 09:58:07
*/ 
public class SysRole extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 创建时间
	 */
	private String createTime ;
	/**
	 * 创建人
	 */
	private String createUser ;
	/**
	 * 角色描述
	 */
	private String describes ;
	/**
	 * 角色id
	 */
	private Integer id ;
	/**
	 * 角色名称
	 */
	private String roleName ;

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	public String getCreateTime(){
		return createTime;
	}

	public void setCreateUser(String createUser){
		this.createUser=createUser;
	}
	public String getCreateUser(){
		return createUser;
	}

	public void setDescribes(String describes){
		this.describes=describes;
	}
	public String getDescribes(){
		return describes;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setRoleName(String roleName){
		this.roleName=roleName;
	}
	public String getRoleName(){
		return roleName;
	}

	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final SysRole sysRole = (SysRole) obj;
			if (this.getId().equals( sysRole.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

